
<div class="span3">
    <ul class="nav nav-list bs-docs-sidenav">
        <li>
            <a href="<?php echo(URL); ?>admin/"><b class="icon-home"></b> Home</a>
        </li>
        <li class="collapsePhotography">
            <a href="javascript:void(0);" data-toggle="collapse" data-target="#collapsePhotography"><i class="icon-chevron-down"></i><b class="icon-camera"></b> Photography</a>
            <ul id="collapsePhotography" class="collapse nav nav-list bs-docs-sidenav sub">
                <?php
                    foreach (Photography::findAll() as $photography) {
                        echo('<li><a href="'.URL.'admin/photography/'.$photography->uri.'"><i class="icon-chevron-right"></i> '.htmlentities($photography->titulo).'</a></li>');
                    }
                ?>
            </ul>
        </li>
        <li>
            <a href="<?php echo(URL); ?>admin/fine-art"><b class="icon-picture"></b> Fine Art Prints</a>
        </li>
        <li>
            <a href="<?php echo(URL); ?>admin/about"><b class="icon-comment"></b> About</a>
        </li>
        <li>
            <a href="<?php echo(URL); ?>admin/salir"><b class="icon-off"></b> Salir</a>
        </li>
    </ul>
</div>